home *** CD-ROM | disk | FTP | other *** search
- Path: ux7.cso.uiuc.edu!djhoward
- From: djhoward@ux7.cso.uiuc.edu (howard daniel joseph)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Must I free my linked lists? (GCC)
- Date: 26 Jan 1996 22:00:13 GMT
- Organization: University of Illinois at Urbana
- Message-ID: <4ebitd$hcu@vixen.cso.uiuc.edu>
- References: <4dvn6t$lc3@hamilton.maths.tcd.ie> <1875.6597T1319T164@teclink.net>
- NNTP-Posting-Host: ux7.cso.uiuc.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- rad (rad@teclink.net) wrote:
- : Yes, ANSI-C compilers will track all memory allocated by malloc() calloc() and
- : realloc() and free them on exiting the program. It of course is better to
- : free your own memory as you finish with so that if you start looping your code
- : in the future you don't require gigabytes to run it.
-
- Yes, as I'm a beginner, I'll stick with the sloppy method for now
- ... but as my project becomes more refined, I'll implement freeing so I
- can switch over to the touted AllocMem() method ...
-
- --
- =====///====================================================================
- ====///=======This message brought to you by dannyman@uiuc.edu==============
- \\\///=========HOME PAGE! http://www.uiuc.edu/ph/www/djhoward ==============
- =\XX/A1200==================================================================
- My views are my own, and not those of my employer or UIUC. Happy Jim?
-